<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="/static/bootstrap/dist/css/bootstrap.min.css">
</head>
<body>
    <div class="form-horizontal col-sm-12" id="box" style="display: none;margin-top:15px">
        <div class="form-group">
            <label for="user_name" class="col-sm-2 control-label">用户名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="user_name" placeholder="用户名">
            </div>
        </div>
        <div class="form-group">
            <label for="user_pwd" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="user_pwd" placeholder="密码">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-6 col-sm-6">
                <button type="button" class="btn btn-default" id="btn">提交</button>
            </div>

        </div>

    </div>

</body>
<script src="/static/layer/layer.js"></script>
<script>
    var box;
    function addUser(){
        box=layer.open({
            title:'增加用户',
            type:1,
            skin:'layer-layer-rim',
            area:['450px','240px'],
            content:$("#box")
        });
    }

</script>
</html>